<template>
  <div class="transfer-page">
    <a-spin></a-spin>
  </div>
</template>

<script>
import { navigateTo } from '@/utils/util'
import qs from 'qs'

export default {
  name: 'transfer-page',
  created () {
    this.getRouteTarget()
  },
  methods: {
    getRouteTarget () {
      const params = this.$route.query
      const { target } = params
      if (target) {
        const url = `${target}?${qs.stringify(params)}`
        navigateTo(url)
      }
    }
  }
}
</script>

<style scoped lang='less'>
.transfer-page {
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 300px;
}

</style>
